// EditCommand.h: interface for the EditCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_EDITCOMMAND_H__17533F25_2255_4E01_8328_75138CF08789__INCLUDED_)
#define AFX_EDITCOMMAND_H__17533F25_2255_4E01_8328_75138CF08789__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "UndoCommand.h"
#include "AutoCADCommandLineCommand.h"
#include "SupportHanger.h"
#include "JointFunction.h"

class EditCommand : 
	public UndoCommand, 
	public AutoCADCommandLineCommand  
{
public:
	EditCommand();
	virtual ~EditCommand();

protected:
	void MoveModel(JointFunction* pCurPort, JointFunction* pOtherPort);
	void ShowChange(JointFunction* pCurPort, JointFunction* pOtherPort);
	BOOL ChangeModel(SupportHanger* pSH);
	void ShowChange(Joint* pJoint);
	void EffectProperty(SupportHanger* pSH);
};

#endif // !defined(AFX_EDITCOMMAND_H__17533F25_2255_4E01_8328_75138CF08789__INCLUDED_)
